/* 面板 */
.bny-panel {
    position: relative;
    border-width: 2px;
    border-style: solid;
    border-radius: 2px;
    border-color: var(--primary);
    box-shadow: 1px 1px 4px rgb(0 0 0 / 8%);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.bny-panel summary:hover {
    cursor: pointer;

}

.bny-panel-body {
    padding: 15px 0;
}

.bny-panel summary {
    position: relative;
    height: 42px;
    line-height: 42px;
    padding: 0 15px;
    background-color: var(--white);
    border-bottom: 1px solid var(--primary-10);
    list-style: none;
}

.bny-panel summary::-webkit-details-marker {
    display: none;
}

.bny-panel summary::before {
    display: inline-flex;
    content: "\e76e";
    width: 14px;
    height: 14px;
    margin-right: 5px;
    font-size: 1.2em;
    align-items: center;
    justify-content: center;
}

.bny-panel details[open] summary::before {
    content: "\e770";
}

.bny-panel details:last-child summary {
    border-bottom: none;
}

.bny-panel details[open]:last-child summary {
    border-bottom: 1px solid var(--primary-10);
}

.bny-panel .bny-panel-body {
    padding: 10px 15px;
    line-height: 1.6;
    border-bottom: 1px solid var(--primary-10);
}

.bny-panel details:last-child .bny-panel-body {
    border-bottom: none;
}